<aside class="lyear-layout-sidebar">
    <!-- logo -->
    <div id="logo" class="sidebar-header">
        <a href="#"><img src="${ctxPath}/static/images/logo.png" title="LightYear" alt="LightYear" /></a>
    </div>
    <div class="lyear-layout-sidebar-scroll">

        <nav class="sidebar-main">
            <ul class="nav nav-drawer">
                <li class="nav-item active">
                    <a class="multitabs" href="#">
                        <i class="mdi mdi-home"></i> <span>后台首页</span>
                    </a>
                </li>
                @if(isNotEmpty(menus)){
                    @for(menu in menus){
                        @if(isNotEmpty(menu.sysMenuList)){
                            <li class="nav-item nav-item-has-subnav">
                                <a href="javascript:void(0)"><i class="mdi mdi-menu"></i> <span>${menu.name}</span></a>
                                <ul class="nav nav-subnav">
                                    @for(child in menu.sysMenuList){
                                        <li> <a class="multitabs" href="${ctxPath}${child.url}">${child.name}</a> </li>
                                    @}
                                </ul>
                            </li>
                        @}else{
                            <li class="nav-item active">
                                <a class="multitabs" href="${ctxPath}${menu.url}">
                                    <i class="mdi mdi-home"></i> <span>${menu.name}</span>
                                </a>
                            </li>
                        @}
                    @}
                @}
            </ul>
        </nav>

        <div class="sidebar-footer">
            <p class="copyright">Copyright &copy; 2019. <a target="_blank" href="#">INS1ST</a> All rights reserved.</p>
        </div>
    </div>

</aside>